.class public Lcom/google/ads/b/j;
.super Ljava/lang/Object;
.source "SourceFile"

# interfaces
.implements Ljava/lang/Runnable;


# instance fields
.field a:Z

.field private b:Ljava/lang/String;

.field private c:Ljava/lang/String;

.field private d:Ljava/lang/String;

.field private e:Ljava/lang/String;

.field private f:Z

.field private g:Lcom/google/ads/b/t;

.field private h:Lcom/google/ads/b/r;

.field private i:Lcom/google/ads/d;

.field private j:Landroid/webkit/WebView;

.field private k:Ljava/lang/String;

.field private l:Ljava/util/LinkedList;

.field private m:Ljava/lang/String;

.field private n:Lcom/google/ads/g;

.field private volatile o:Z

.field private p:Z

.field private q:Lcom/google/ads/e;

.field private r:Z

.field private s:I

.field private t:Ljava/lang/Thread;

.field private u:Z

.field private v:Lcom/google/ads/b/p;


# direct methods
.method protected constructor <init>()V
    .locals 1

    .prologue
    .line 516
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    .line 506
    sget-object v0, Lcom/google/ads/b/p;->b:Lcom/google/ads/b/p;

    iput-object v0, p0, Lcom/google/ads/b/j;->v:Lcom/google/ads/b/p;

    .line 518
    return-void
.end method

.method public constructor <init>(Lcom/google/ads/b/r;)V
    .locals 4
    .parameter

    .prologue
    const/4 v3, 0x0

    const/4 v2, 0x0

    .line 526
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    .line 506
    sget-object v0, Lcom/google/ads/b/p;->b:Lcom/google/ads/b/p;

    iput-object v0, p0, Lcom/google/ads/b/j;->v:Lcom/google/ads/b/p;

    .line 528
    iput-object p1, p0, Lcom/google/ads/b/j;->h:Lcom/google/ads/b/r;

    .line 532
    iput-object v2, p0, Lcom/google/ads/b/j;->k:Ljava/lang/String;

    .line 537
    iput-object v2, p0, Lcom/google/ads/b/j;->b:Ljava/lang/String;

    .line 538
    iput-object v2, p0, Lcom/google/ads/b/j;->c:Ljava/lang/String;

    .line 539
    iput-object v2, p0, Lcom/google/ads/b/j;->d:Ljava/lang/String;

    .line 546
    new-instance v0, Ljava/util/LinkedList;

    invoke-direct {v0}, Ljava/util/LinkedList;-><init>()V

    iput-object v0, p0, Lcom/google/ads/b/j;->l:Ljava/util/LinkedList;

    .line 550
    iput-object v2, p0, Lcom/google/ads/b/j;->q:Lcom/google/ads/e;

    .line 554
    iput-boolean v3, p0, Lcom/google/ads/b/j;->r:Z

    .line 557
    const/4 v0, -0x1

    iput v0, p0, Lcom/google/ads/b/j;->s:I

    .line 559
    iput-boolean v3, p0, Lcom/google/ads/b/j;->f:Z

    .line 560
    iput-boolean v3, p0, Lcom/google/ads/b/j;->p:Z

    .line 561
    iput-object v2, p0, Lcom/google/ads/b/j;->m:Ljava/lang/String;

    .line 562
    iput-object v2, p0, Lcom/google/ads/b/j;->n:Lcom/google/ads/g;

    .line 565
    invoke-virtual {p1}, Lcom/google/ads/b/r;->g()Lcom/google/ads/as;

    move-result-object v0

    iget-object v0, v0, Lcom/google/ads/as;->e:Lcom/google/ads/util/ae;

    invoke-virtual {v0}, Lcom/google/ads/util/ae;->a()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Landroid/app/Activity;

    .line 566
    if-eqz v0, :cond_0

    .line 570
    new-instance v0, Lcom/google/ads/b/c;

    invoke-virtual {p1}, Lcom/google/ads/b/r;->g()Lcom/google/ads/as;

    move-result-object v1

    invoke-direct {v0, v1, v2}, Lcom/google/ads/b/c;-><init>(Lcom/google/ads/as;Lcom/google/ads/g;)V

    iput-object v0, p0, Lcom/google/ads/b/j;->j:Landroid/webkit/WebView;

    .line 571
    iget-object v0, p0, Lcom/google/ads/b/j;->j:Landroid/webkit/WebView;

    sget-object v1, Lcom/google/ads/b/e;->b:Ljava/util/Map;

    invoke-static {p1, v1, v3, v3}, Lcom/google/ads/b/y;->a(Lcom/google/ads/b/r;Ljava/util/Map;ZZ)Lcom/google/ads/b/y;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/webkit/WebView;->setWebViewClient(Landroid/webkit/WebViewClient;)V

    .line 575
    iget-object v0, p0, Lcom/google/ads/b/j;->j:Landroid/webkit/WebView;

    const/16 v1, 0x8

    invoke-virtual {v0, v1}, Landroid/webkit/WebView;->setVisibility(I)V

    .line 576
    iget-object v0, p0, Lcom/google/ads/b/j;->j:Landroid/webkit/WebView;

    const/4 v1, 0x1

    invoke-virtual {v0, v1}, Landroid/webkit/WebView;->setWillNotDraw(Z)V

    .line 579
    new-instance v0, Lcom/google/ads/b/t;

    invoke-direct {v0, p0, p1}, Lcom/google/ads/b/t;-><init>(Lcom/google/ads/b/j;Lcom/google/ads/b/r;)V

    iput-object v0, p0, Lcom/google/ads/b/j;->g:Lcom/google/ads/b/t;

    .line 587
    :goto_0
    return-void

    .line 583
    :cond_0
    iput-object v2, p0, Lcom/google/ads/b/j;->j:Landroid/webkit/WebView;

    .line 584
    iput-object v2, p0, Lcom/google/ads/b/j;->g:Lcom/google/ads/b/t;

    .line 585
    const-string v0, "activity was null while trying to create an AdLoader."

    invoke-static {v0}, Lcom/google/ads/util/d;->e(Ljava/lang/String;)V

    goto :goto_0
.end method

.method static synthetic a(Lcom/google/ads/b/j;)Landroid/webkit/WebView;
    .locals 1
    .parameter

    .prologue
    .line 44
    iget-object v0, p0, Lcom/google/ads/b/j;->j:Landroid/webkit/WebView;

    return-object v0
.end method

.method static a(Ljava/lang/String;Lcom/google/ads/aa;Lcom/google/ads/ac;)V
    .locals 5
    .parameter
    .parameter
    .parameter

    .prologue
    .line 954
    if-nez p0, :cond_1

    .line 986
    :cond_0
    :goto_0
    return-void

    .line 957
    :cond_1
    const-string v0, "no-store"

    invoke-virtual {p0, v0}, Ljava/lang/String;->contains(Ljava/lang/CharSequence;)Z

    move-result v0

    if-nez v0, :cond_0

    .line 960
    const-string v0, "no-cache"

    invoke-virtual {p0, v0}, Ljava/lang/String;->contains(Ljava/lang/CharSequence;)Z

    move-result v0

    if-nez v0, :cond_0

    .line 965
    const-string v0, "max-age\\s*=\\s*(\\d+)"

    invoke-static {v0}, Ljava/util/regex/Pattern;->compile(Ljava/lang/String;)Ljava/util/regex/Pattern;

    move-result-object v0

    invoke-virtual {v0, p0}, Ljava/util/regex/Pattern;->matcher(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher;

    move-result-object v0

    .line 967
    invoke-virtual {v0}, Ljava/util/regex/Matcher;->find()Z

    move-result v1

    if-eqz v1, :cond_2

    .line 969
    const/4 v1, 0x1

    :try_start_0
    invoke-virtual {v0, v1}, Ljava/util/regex/Matcher;->group(I)Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Ljava/lang/Integer;->parseInt(Ljava/lang/String;)I

    move-result v0

    .line 970
    invoke-virtual {p2, p1, v0}, Lcom/google/ads/ac;->a(Lcom/google/ads/aa;I)V

    .line 971
    sget-object v1, Ljava/util/Locale;->US:Ljava/util/Locale;

    const-string v2, "Caching gWhirl configuration for: %d seconds"

    const/4 v3, 0x1

    new-array v3, v3, [Ljava/lang/Object;

    const/4 v4, 0x0

    invoke-static {v0}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v0

    aput-object v0, v3, v4

    invoke-static {v1, v2, v3}, Ljava/lang/String;->format(Ljava/util/Locale;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Lcom/google/ads/util/d;->c(Ljava/lang/String;)V
    :try_end_0
    .catch Ljava/lang/NumberFormatException; {:try_start_0 .. :try_end_0} :catch_0

    goto :goto_0

    .line 974
    :catch_0
    move-exception v0

    .line 977
    const-string v1, "Caught exception trying to parse cache control directive. Overflow?"

    invoke-static {v1, v0}, Lcom/google/ads/util/d;->b(Ljava/lang/String;Ljava/lang/Throwable;)V

    goto :goto_0

    .line 984
    :cond_2
    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    const-string v1, "Unrecognized cacheControlDirective: \'"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0, p0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string v1, "\'. Not caching configuration."

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Lcom/google/ads/util/d;->c(Ljava/lang/String;)V

    goto :goto_0
.end method

.method static synthetic b(Lcom/google/ads/b/j;)Ljava/lang/String;
    .locals 1
    .parameter

    .prologue
    .line 44
    iget-object v0, p0, Lcom/google/ads/b/j;->m:Ljava/lang/String;

    return-object v0
.end method

.method private b(Ljava/lang/String;Ljava/lang/String;)V
    .locals 3
    .parameter
    .parameter

    .prologue
    .line 1361
    iget-object v0, p0, Lcom/google/ads/b/j;->h:Lcom/google/ads/b/r;

    new-instance v1, Lcom/google/ads/b/o;

    iget-object v2, p0, Lcom/google/ads/b/j;->j:Landroid/webkit/WebView;

    invoke-direct {v1, p0, v2, p2, p1}, Lcom/google/ads/b/o;-><init>(Lcom/google/ads/b/j;Landroid/webkit/WebView;Ljava/lang/String;Ljava/lang/String;)V

    invoke-virtual {v0, v1}, Lcom/google/ads/b/r;->a(Ljava/lang/Runnable;)V

    .line 1363
    return-void
.end method

.method static synthetic c(Lcom/google/ads/b/j;)Lcom/google/ads/b/r;
    .locals 1
    .parameter

    .prologue
    .line 44
    iget-object v0, p0, Lcom/google/ads/b/j;->h:Lcom/google/ads/b/r;

    return-object v0
.end method

.method private c()Ljava/lang/String;
    .locals 1

    .prologue
    .line 1270
    iget-object v0, p0, Lcom/google/ads/b/j;->i:Lcom/google/ads/d;

    instance-of v0, v0, Lcom/google/ads/d/a;

    if-eqz v0, :cond_0

    .line 1271
    const-string v0, "AFMA_buildAdURL"

    .line 1273
    :goto_0
    return-object v0

    :cond_0
    const-string v0, "AFMA_buildAdURL"

    goto :goto_0
.end method

.method static synthetic d(Lcom/google/ads/b/j;)Lcom/google/ads/g;
    .locals 1
    .parameter

    .prologue
    .line 44
    iget-object v0, p0, Lcom/google/ads/b/j;->n:Lcom/google/ads/g;

    return-object v0
.end method

.method private d()Ljava/lang/String;
    .locals 1

    .prologue
    .line 1284
    iget-object v0, p0, Lcom/google/ads/b/j;->i:Lcom/google/ads/d;

    instance-of v0, v0, Lcom/google/ads/d/a;

    if-eqz v0, :cond_0

    .line 1285
    const-string v0, "AFMA_getSdkConstants();"

    .line 1287
    :goto_0
    return-object v0

    :cond_0
    const-string v0, "AFMA_getSdkConstants();"

    goto :goto_0
.end method

.method private e()Ljava/lang/String;
    .locals 1

    .prologue
    .line 1297
    iget-object v0, p0, Lcom/google/ads/b/j;->i:Lcom/google/ads/d;

    instance-of v0, v0, Lcom/google/ads/d/a;

    if-eqz v0, :cond_0

    .line 1298
    const-string v0, "http://www.gstatic.com/safa/"

    .line 1300
    :goto_0
    return-object v0

    :cond_0
    const-string v0, "http://media.admob.com/"

    goto :goto_0
.end method

.method private f()Ljava/lang/String;
    .locals 1

    .prologue
    .line 1312
    iget-object v0, p0, Lcom/google/ads/b/j;->i:Lcom/google/ads/d;

    instance-of v0, v0, Lcom/google/ads/d/a;

    if-eqz v0, :cond_0

    .line 1313
    const-string v0, "<html><head><script src=\"http://www.gstatic.com/safa/sdk-core-v40.js\"></script><script>"

    .line 1315
    :goto_0
    return-object v0

    :cond_0
    const-string v0, "<html><head><script src=\"http://media.admob.com/sdk-core-v40.js\"></script><script>"

    goto :goto_0
.end method

.method private g()Ljava/lang/String;
    .locals 1

    .prologue
    .line 1326
    iget-object v0, p0, Lcom/google/ads/b/j;->i:Lcom/google/ads/d;

    instance-of v0, v0, Lcom/google/ads/d/a;

    if-eqz v0, :cond_0

    .line 1327
    const-string v0, "</script></head><body></body></html>"

    .line 1329
    :goto_0
    return-object v0

    :cond_0
    const-string v0, "</script></head><body></body></html>"

    goto :goto_0
.end method

.method private h()V
    .locals 5

    .prologue
    .line 1370
    iget-object v0, p0, Lcom/google/ads/b/j;->h:Lcom/google/ads/b/r;

    invoke-virtual {v0}, Lcom/google/ads/b/r;->j()Lcom/google/ads/b/c;

    move-result-object v0

    .line 1371
    iget-object v1, p0, Lcom/google/ads/b/j;->h:Lcom/google/ads/b/r;

    invoke-virtual {v1}, Lcom/google/ads/b/r;->k()Lcom/google/ads/b/y;

    move-result-object v1

    .line 1372
    const/4 v2, 0x1

    invoke-virtual {v1, v2}, Lcom/google/ads/b/y;->c(Z)V

    .line 1374
    iget-object v1, p0, Lcom/google/ads/b/j;->h:Lcom/google/ads/b/r;

    invoke-virtual {v1}, Lcom/google/ads/b/r;->l()Lcom/google/ads/b/w;

    move-result-object v1

    invoke-virtual {v1}, Lcom/google/ads/b/w;->h()V

    .line 1375
    iget-object v1, p0, Lcom/google/ads/b/j;->h:Lcom/google/ads/b/r;

    new-instance v2, Lcom/google/ads/b/o;

    iget-object v3, p0, Lcom/google/ads/b/j;->b:Ljava/lang/String;

    iget-object v4, p0, Lcom/google/ads/b/j;->c:Ljava/lang/String;

    invoke-direct {v2, p0, v0, v3, v4}, Lcom/google/ads/b/o;-><init>(Lcom/google/ads/b/j;Landroid/webkit/WebView;Ljava/lang/String;Ljava/lang/String;)V

    invoke-virtual {v1, v2}, Lcom/google/ads/b/r;->a(Ljava/lang/Runnable;)V

    .line 1377
    return-void
.end method

.method private i()V
    .locals 9

    .prologue
    .line 1383
    iget-object v8, p0, Lcom/google/ads/b/j;->h:Lcom/google/ads/b/r;

    new-instance v0, Lcom/google/ads/b/q;

    iget-object v1, p0, Lcom/google/ads/b/j;->h:Lcom/google/ads/b/r;

    iget-object v2, p0, Lcom/google/ads/b/j;->j:Landroid/webkit/WebView;

    iget-object v3, p0, Lcom/google/ads/b/j;->l:Ljava/util/LinkedList;

    iget v4, p0, Lcom/google/ads/b/j;->s:I

    iget-boolean v5, p0, Lcom/google/ads/b/j;->p:Z

    iget-object v6, p0, Lcom/google/ads/b/j;->m:Ljava/lang/String;

    iget-object v7, p0, Lcom/google/ads/b/j;->n:Lcom/google/ads/g;

    invoke-direct/range {v0 .. v7}, Lcom/google/ads/b/q;-><init>(Lcom/google/ads/b/r;Landroid/webkit/WebView;Ljava/util/LinkedList;IZLjava/lang/String;Lcom/google/ads/g;)V

    invoke-virtual {v8, v0}, Lcom/google/ads/b/r;->a(Ljava/lang/Runnable;)V

    .line 1390
    return-void
.end method


# virtual methods
.method public a(Ljava/util/Map;Landroid/app/Activity;)Ljava/lang/String;
    .locals 9
    .parameter
    .parameter

    .prologue
    const-wide/16 v7, 0x0

    const/4 v2, 0x1

    const/4 v3, 0x0

    .line 1001
    invoke-virtual {p2}, Landroid/app/Activity;->getApplicationContext()Landroid/content/Context;

    move-result-object v4

    .line 1004
    iget-object v0, p0, Lcom/google/ads/b/j;->h:Lcom/google/ads/b/r;

    invoke-virtual {v0}, Lcom/google/ads/b/r;->l()Lcom/google/ads/b/w;

    move-result-object v0

    .line 1007
    invoke-virtual {v0}, Lcom/google/ads/b/w;->m()J

    move-result-wide v5

    .line 1008
    cmp-long v1, v5, v7

    if-lez v1, :cond_0

    .line 1009
    const-string v1, "prl"

    invoke-static {v5, v6}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;

    move-result-object v5

    invoke-interface {p1, v1, v5}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    .line 1013
    :cond_0
    invoke-virtual {v0}, Lcom/google/ads/b/w;->n()J

    move-result-wide v5

    .line 1014
    cmp-long v1, v5, v7

    if-lez v1, :cond_1

    .line 1015
    const-string v1, "prnl"

    invoke-static {v5, v6}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;

    move-result-object v5

    invoke-interface {p1, v1, v5}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    .line 1020
    :cond_1
    invoke-virtual {v0}, Lcom/google/ads/b/w;->l()Ljava/lang/String;

    move-result-object v1

    .line 1021
    if-eqz v1, :cond_2

    .line 1022
    const-string v5, "ppcl"

    invoke-interface {p1, v5, v1}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    .line 1027
    :cond_2
    invoke-virtual {v0}, Lcom/google/ads/b/w;->k()Ljava/lang/String;

    move-result-object v1

    .line 1028
    if-eqz v1, :cond_3

    .line 1029
    const-string v5, "pcl"

    invoke-interface {p1, v5, v1}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    .line 1033
    :cond_3
    invoke-virtual {v0}, Lcom/google/ads/b/w;->j()J

    move-result-wide v5

    .line 1034
    cmp-long v1, v5, v7

    if-lez v1, :cond_4

    .line 1035
    const-string v1, "pcc"

    invoke-static {v5, v6}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;

    move-result-object v5

    invoke-interface {p1, v1, v5}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    .line 1039
    :cond_4
    const-string v1, "preqs"

    invoke-virtual {v0}, Lcom/google/ads/b/w;->o()J

    move-result-wide v5

    invoke-static {v5, v6}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;

    move-result-object v5

    invoke-interface {p1, v1, v5}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    .line 1042
    const-string v1, "oar"

    invoke-virtual {v0}, Lcom/google/ads/b/w;->p()J

    move-result-wide v5

    invoke-static {v5, v6}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;

    move-result-object v5

    invoke-interface {p1, v1, v5}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    .line 1046
    const-string v1, "bas_on"

    invoke-virtual {v0}, Lcom/google/ads/b/w;->s()J

    move-result-wide v5

    invoke-static {v5, v6}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;

    move-result-object v5

    invoke-interface {p1, v1, v5}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    .line 1050
    const-string v1, "bas_off"

    invoke-virtual {v0}, Lcom/google/ads/b/w;->v()J

    move-result-wide v5

    invoke-static {v5, v6}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;

    move-result-object v5

    invoke-interface {p1, v1, v5}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    .line 1054
    invoke-virtual {v0}, Lcom/google/ads/b/w;->y()Z

    move-result v1

    .line 1055
    if-eqz v1, :cond_5

    .line 1056
    const-string v1, "aoi_timeout"

    const-string v5, "true"

    invoke-interface {p1, v1, v5}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    .line 1060
    :cond_5
    invoke-virtual {v0}, Lcom/google/ads/b/w;->A()Z

    move-result v1

    .line 1061
    if-eqz v1, :cond_6

    .line 1062
    const-string v1, "aoi_nofill"

    const-string v5, "true"

    invoke-interface {p1, v1, v5}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    .line 1066
    :cond_6
    invoke-virtual {v0}, Lcom/google/ads/b/w;->D()Ljava/lang/String;

    move-result-object v1

    .line 1067
    if-eqz v1, :cond_7

    .line 1068
    const-string v5, "pit"

    invoke-interface {p1, v5, v1}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    .line 1072
    :cond_7
    invoke-static {}, Lcom/google/ads/b/w;->E()J

    move-result-wide v5

    .line 1073
    const-string v1, "ptime"

    invoke-static {v5, v6}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;

    move-result-object v5

    invoke-interface {p1, v1, v5}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    .line 1076
    invoke-virtual {v0}, Lcom/google/ads/b/w;->a()V

    .line 1077
    invoke-virtual {v0}, Lcom/google/ads/b/w;->i()V

    .line 1080
    iget-object v0, p0, Lcom/google/ads/b/j;->h:Lcom/google/ads/b/r;

    invoke-virtual {v0}, Lcom/google/ads/b/r;->g()Lcom/google/ads/as;

    move-result-object v0

    invoke-virtual {v0}, Lcom/google/ads/as;->b()Z

    move-result v0

    if-eqz v0, :cond_d

    .line 1081
    const-string v0, "format"

    const-string v1, "interstitial_mb"

    invoke-interface {p1, v0, v1}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    .line 1103
    :goto_0
    const-string v0, "slotname"

    iget-object v1, p0, Lcom/google/ads/b/j;->h:Lcom/google/ads/b/r;

    invoke-virtual {v1}, Lcom/google/ads/b/r;->g()Lcom/google/ads/as;

    move-result-object v1

    iget-object v1, v1, Lcom/google/ads/as;->d:Lcom/google/ads/util/ac;

    invoke-virtual {v1}, Lcom/google/ads/util/ac;->a()Ljava/lang/Object;

    move-result-object v1

    invoke-interface {p1, v0, v1}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    .line 1107
    const-string v0, "js"

    const-string v1, "afma-sdk-a-v6.2.1"

    invoke-interface {p1, v0, v1}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    .line 1110
    invoke-virtual {v4}, Landroid/content/Context;->getPackageName()Ljava/lang/String;

    move-result-object v0

    .line 1113
    :try_start_0
    invoke-virtual {v4}, Landroid/content/Context;->getPackageManager()Landroid/content/pm/PackageManager;

    move-result-object v1

    const/4 v5, 0x0

    invoke-virtual {v1, v0, v5}, Landroid/content/pm/PackageManager;->getPackageInfo(Ljava/lang/String;I)Landroid/content/pm/PackageInfo;
    :try_end_0
    .catch Landroid/content/pm/PackageManager$NameNotFoundException; {:try_start_0 .. :try_end_0} :catch_0

    move-result-object v0

    .line 1117
    iget v0, v0, Landroid/content/pm/PackageInfo;->versionCode:I

    .line 1120
    invoke-static {v4}, Lcom/google/ads/util/AdUtil;->f(Landroid/content/Context;)Ljava/lang/String;

    move-result-object v1

    .line 1121
    invoke-static {v1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v5

    if-nez v5, :cond_8

    .line 1122
    const-string v5, "mv"

    invoke-interface {p1, v5, v1}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    .line 1126
    :cond_8
    const-string v1, "msid"

    invoke-virtual {v4}, Landroid/content/Context;->getPackageName()Ljava/lang/String;

    move-result-object v5

    invoke-interface {p1, v1, v5}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    .line 1129
    const-string v1, "app_name"

    new-instance v5, Ljava/lang/StringBuilder;

    invoke-direct {v5}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v5, v0}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string v5, ".android."

    invoke-virtual {v0, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v4}, Landroid/content/Context;->getPackageName()Ljava/lang/String;

    move-result-object v5

    invoke-virtual {v0, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-interface {p1, v1, v0}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    .line 1133
    const-string v0, "isu"

    invoke-static {v4}, Lcom/google/ads/util/AdUtil;->a(Landroid/content/Context;)Ljava/lang/String;

    move-result-object v1

    invoke-interface {p1, v0, v1}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    .line 1136
    invoke-static {v4}, Lcom/google/ads/util/AdUtil;->d(Landroid/content/Context;)Ljava/lang/String;

    move-result-object v0

    .line 1137
    const-string v1, "net"

    if-nez v0, :cond_9

    const-string v0, "null"

    :cond_9
    invoke-interface {p1, v1, v0}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    .line 1142
    invoke-static {v4}, Lcom/google/ads/util/AdUtil;->e(Landroid/content/Context;)Ljava/lang/String;

    move-result-object v0

    .line 1143
    if-eqz v0, :cond_a

    invoke-virtual {v0}, Ljava/lang/String;->length()I

    move-result v1

    if-eqz v1, :cond_a

    .line 1144
    const-string v1, "cap"

    invoke-interface {p1, v1, v0}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    .line 1148
    :cond_a
    const-string v0, "u_audio"

    invoke-static {v4}, Lcom/google/ads/util/AdUtil;->g(Landroid/content/Context;)Lcom/google/ads/util/a;

    move-result-object v1

    invoke-virtual {v1}, Lcom/google/ads/util/a;->ordinal()I

    move-result v1

    invoke-static {v1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v1

    invoke-interface {p1, v0, v1}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    .line 1151
    invoke-static {p2}, Lcom/google/ads/util/AdUtil;->a(Landroid/app/Activity;)Landroid/util/DisplayMetrics;

    move-result-object v0

    .line 1154
    const-string v1, "u_sd"

    iget v5, v0, Landroid/util/DisplayMetrics;->density:F

    invoke-static {v5}, Ljava/lang/Float;->valueOf(F)Ljava/lang/Float;

    move-result-object v5

    invoke-interface {p1, v1, v5}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    .line 1157
    const-string v1, "u_h"

    invoke-static {v4, v0}, Lcom/google/ads/util/AdUtil;->a(Landroid/content/Context;Landroid/util/DisplayMetrics;)I

    move-result v5

    invoke-static {v5}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v5

    invoke-interface {p1, v1, v5}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    .line 1161
    const-string v1, "u_w"

    invoke-static {v4, v0}, Lcom/google/ads/util/AdUtil;->b(Landroid/content/Context;Landroid/util/DisplayMetrics;)I

    move-result v0

    invoke-static {v0}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v0

    invoke-interface {p1, v1, v0}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    .line 1165
    const-string v0, "hl"

    invoke-static {}, Ljava/util/Locale;->getDefault()Ljava/util/Locale;

    move-result-object v1

    invoke-virtual {v1}, Ljava/util/Locale;->getLanguage()Ljava/lang/String;

    move-result-object v1

    invoke-interface {p1, v0, v1}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    .line 1168
    iget-object v0, p0, Lcom/google/ads/b/j;->h:Lcom/google/ads/b/r;

    invoke-virtual {v0}, Lcom/google/ads/b/r;->g()Lcom/google/ads/as;

    move-result-object v0

    iget-object v0, v0, Lcom/google/ads/as;->i:Lcom/google/ads/util/ac;

    if-eqz v0, :cond_b

    iget-object v0, p0, Lcom/google/ads/b/j;->h:Lcom/google/ads/b/r;

    invoke-virtual {v0}, Lcom/google/ads/b/r;->g()Lcom/google/ads/as;

    move-result-object v0

    iget-object v0, v0, Lcom/google/ads/as;->i:Lcom/google/ads/util/ac;

    invoke-virtual {v0}, Lcom/google/ads/util/ac;->a()Ljava/lang/Object;

    move-result-object v0

    if-eqz v0, :cond_b

    .line 1170
    iget-object v0, p0, Lcom/google/ads/b/j;->h:Lcom/google/ads/b/r;

    invoke-virtual {v0}, Lcom/google/ads/b/r;->g()Lcom/google/ads/as;

    move-result-object v0

    iget-object v0, v0, Lcom/google/ads/as;->i:Lcom/google/ads/util/ac;

    invoke-virtual {v0}, Lcom/google/ads/util/ac;->a()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/google/ads/h;

    .line 1172
    invoke-virtual {v0}, Lcom/google/ads/h;->getParent()Landroid/view/ViewParent;

    move-result-object v1

    if-eqz v1, :cond_b

    .line 1174
    const/4 v1, 0x2

    new-array v1, v1, [I

    .line 1175
    invoke-virtual {v0, v1}, Lcom/google/ads/h;->getLocationOnScreen([I)V

    .line 1176
    aget v5, v1, v3

    .line 1177
    aget v6, v1, v2

    .line 1180
    iget-object v1, p0, Lcom/google/ads/b/j;->h:Lcom/google/ads/b/r;

    invoke-virtual {v1}, Lcom/google/ads/b/r;->g()Lcom/google/ads/as;

    move-result-object v1

    iget-object v1, v1, Lcom/google/ads/as;->f:Lcom/google/ads/util/ac;

    invoke-virtual {v1}, Lcom/google/ads/util/ac;->a()Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Landroid/content/Context;

    invoke-virtual {v1}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;

    move-result-object v1

    invoke-virtual {v1}, Landroid/content/res/Resources;->getDisplayMetrics()Landroid/util/DisplayMetrics;

    move-result-object v1

    .line 1182
    iget v7, v1, Landroid/util/DisplayMetrics;->widthPixels:I

    .line 1183
    iget v1, v1, Landroid/util/DisplayMetrics;->heightPixels:I

    .line 1187
    invoke-virtual {v0}, Lcom/google/ads/h;->isShown()Z

    move-result v8

    if-eqz v8, :cond_15

    invoke-virtual {v0}, Lcom/google/ads/h;->getWidth()I

    move-result v8

    add-int/2addr v8, v5

    if-lez v8, :cond_15

    invoke-virtual {v0}, Lcom/google/ads/h;->getHeight()I

    move-result v8

    add-int/2addr v8, v6

    if-lez v8, :cond_15

    if-gt v5, v7, :cond_15

    if-gt v6, v1, :cond_15

    move v1, v2

    .line 1192
    :goto_1
    new-instance v7, Ljava/util/HashMap;

    invoke-direct {v7}, Ljava/util/HashMap;-><init>()V

    .line 1193
    const-string v8, "x"

    invoke-static {v5}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v5

    invoke-interface {v7, v8, v5}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    .line 1194
    const-string v5, "y"

    invoke-static {v6}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v6

    invoke-interface {v7, v5, v6}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    .line 1195
    const-string v5, "width"

    invoke-virtual {v0}, Lcom/google/ads/h;->getWidth()I

    move-result v6

    invoke-static {v6}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v6

    invoke-interface {v7, v5, v6}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    .line 1196
    const-string v5, "height"

    invoke-virtual {v0}, Lcom/google/ads/h;->getHeight()I

    move-result v0

    invoke-static {v0}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v0

    invoke-interface {v7, v5, v0}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    .line 1197
    const-string v0, "visible"

    invoke-static {v1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v1

    invoke-interface {v7, v0, v1}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    .line 1198
    const-string v0, "ad_pos"

    invoke-interface {p1, v0, v7}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    .line 1203
    :cond_b
    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    .line 1204
    iget-object v0, p0, Lcom/google/ads/b/j;->h:Lcom/google/ads/b/r;

    invoke-virtual {v0}, Lcom/google/ads/b/r;->g()Lcom/google/ads/as;

    move-result-object v0

    iget-object v0, v0, Lcom/google/ads/as;->l:Lcom/google/ads/util/ad;

    invoke-virtual {v0}, Lcom/google/ads/util/ad;->a()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, [Lcom/google/ads/g;

    .line 1205
    if-eqz v0, :cond_12

    .line 1206
    array-length v5, v0

    :goto_2
    if-ge v3, v5, :cond_11

    aget-object v6, v0, v3

    .line 1207
    invoke-virtual {v1}, Ljava/lang/StringBuilder;->length()I

    move-result v7

    if-eqz v7, :cond_c

    .line 1208
    const-string v7, "|"

    invoke-virtual {v1, v7}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    .line 1210
    :cond_c
    new-instance v7, Ljava/lang/StringBuilder;

    invoke-direct {v7}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v6}, Lcom/google/ads/g;->a()I

    move-result v8

    invoke-virtual {v7, v8}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v7

    const-string v8, "x"

    invoke-virtual {v7, v8}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v7

    invoke-virtual {v6}, Lcom/google/ads/g;->b()I

    move-result v6

    invoke-virtual {v7, v6}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v6

    invoke-virtual {v6}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v6

    invoke-virtual {v1, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    .line 1206
    add-int/lit8 v3, v3, 0x1

    goto :goto_2

    .line 1083
    :cond_d
    iget-object v0, p0, Lcom/google/ads/b/j;->h:Lcom/google/ads/b/r;

    invoke-virtual {v0}, Lcom/google/ads/b/r;->g()Lcom/google/ads/as;

    move-result-object v0

    iget-object v0, v0, Lcom/google/ads/as;->k:Lcom/google/ads/util/ac;

    invoke-virtual {v0}, Lcom/google/ads/util/ac;->a()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/google/ads/b/x;

    invoke-virtual {v0}, Lcom/google/ads/b/x;->b()Lcom/google/ads/g;

    move-result-object v0

    .line 1084
    invoke-virtual {v0}, Lcom/google/ads/g;->c()Z

    move-result v1

    if-eqz v1, :cond_e

    .line 1085
    const-string v1, "smart_w"

    const-string v5, "full"

    invoke-interface {p1, v1, v5}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    .line 1087
    :cond_e
    invoke-virtual {v0}, Lcom/google/ads/g;->d()Z

    move-result v1

    if-eqz v1, :cond_f

    .line 1088
    const-string v1, "smart_h"

    const-string v5, "auto"

    invoke-interface {p1, v1, v5}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    .line 1090
    :cond_f
    invoke-virtual {v0}, Lcom/google/ads/g;->e()Z

    move-result v1

    if-nez v1, :cond_10

    .line 1091
    const-string v1, "format"

    invoke-virtual {v0}, Lcom/google/ads/g;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-interface {p1, v1, v0}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    goto/16 :goto_0

    .line 1093
    :cond_10
    new-instance v1, Ljava/util/HashMap;

    invoke-direct {v1}, Ljava/util/HashMap;-><init>()V

    .line 1094
    const-string v5, "w"

    invoke-virtual {v0}, Lcom/google/ads/g;->a()I

    move-result v6

    invoke-static {v6}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v6

    invoke-interface {v1, v5, v6}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    .line 1095
    const-string v5, "h"

    invoke-virtual {v0}, Lcom/google/ads/g;->b()I

    move-result v0

    invoke-static {v0}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v0

    invoke-interface {v1, v5, v0}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    .line 1096
    const-string v0, "ad_frame"

    invoke-interface {p1, v0, v1}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    goto/16 :goto_0

    .line 1114
    :catch_0
    move-exception v0

    .line 1115
    new-instance v0, Lcom/google/ads/b/n;

    const-string v1, "NameNotFoundException"

    invoke-direct {v0, p0, v1}, Lcom/google/ads/b/n;-><init>(Lcom/google/ads/b/j;Ljava/lang/String;)V

    throw v0

    .line 1212
    :cond_11
    const-string v0, "sz"

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-interface {p1, v0, v1}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    .line 1216
    :cond_12
    const-string v0, "phone"

    invoke-virtual {v4, v0}, Landroid/content/Context;->getSystemService(Ljava/lang/String;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Landroid/telephony/TelephonyManager;

    .line 1219
    const-string v1, "carrier"

    invoke-virtual {v0}, Landroid/telephony/TelephonyManager;->getNetworkOperator()Ljava/lang/String;

    move-result-object v3

    invoke-interface {p1, v1, v3}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    .line 1223
    invoke-virtual {v0}, Landroid/telephony/TelephonyManager;->getNetworkType()I

    move-result v0

    .line 1224
    const-string v1, "gnt"

    invoke-static {v0}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v0

    invoke-interface {p1, v1, v0}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    .line 1227
    invoke-static {}, Lcom/google/ads/util/AdUtil;->c()Z

    move-result v0

    if-eqz v0, :cond_13

    .line 1228
    const-string v0, "simulator"

    invoke-static {v2}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v1

    invoke-interface {p1, v0, v1}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    .line 1233
    :cond_13
    const-string v0, "session_id"

    invoke-static {}, Lcom/google/ads/z;->a()Lcom/google/ads/z;

    move-result-object v1

    invoke-virtual {v1}, Lcom/google/ads/z;->b()Ljava/math/BigInteger;

    move-result-object v1

    invoke-virtual {v1}, Ljava/math/BigInteger;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-interface {p1, v0, v1}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    .line 1241
    const-string v0, "seq_num"

    invoke-static {}, Lcom/google/ads/z;->a()Lcom/google/ads/z;

    move-result-object v1

    invoke-virtual {v1}, Lcom/google/ads/z;->c()Ljava/math/BigInteger;

    move-result-object v1

    invoke-virtual {v1}, Ljava/math/BigInteger;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-interface {p1, v0, v1}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    .line 1245
    invoke-static {p1}, Lcom/google/ads/util/AdUtil;->a(Ljava/util/Map;)Ljava/lang/String;

    move-result-object v1

    .line 1248
    iget-object v0, p0, Lcom/google/ads/b/j;->h:Lcom/google/ads/b/r;

    invoke-virtual {v0}, Lcom/google/ads/b/r;->g()Lcom/google/ads/as;

    move-result-object v0

    iget-object v0, v0, Lcom/google/ads/as;->a:Lcom/google/ads/util/ac;

    invoke-virtual {v0}, Lcom/google/ads/util/ac;->a()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/google/ads/aq;

    iget-object v0, v0, Lcom/google/ads/aq;->a:Lcom/google/ads/util/ac;

    invoke-virtual {v0}, Lcom/google/ads/util/ac;->a()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/google/ads/ar;

    .line 1252
    iget-object v0, v0, Lcom/google/ads/ar;->l:Lcom/google/ads/util/ad;

    invoke-virtual {v0}, Lcom/google/ads/util/ad;->a()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/lang/Boolean;

    invoke-virtual {v0}, Ljava/lang/Boolean;->booleanValue()Z

    move-result v0

    if-eqz v0, :cond_14

    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    invoke-direct {p0}, Lcom/google/ads/b/j;->f()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-direct {p0}, Lcom/google/ads/b/j;->c()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string v2, "("

    invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string v1, ");"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-direct {p0}, Lcom/google/ads/b/j;->g()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    .line 1258
    :goto_3
    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    const-string v2, "adRequestUrlHtml: "

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-static {v1}, Lcom/google/ads/util/d;->c(Ljava/lang/String;)V

    .line 1260
    return-object v0

    .line 1252
    :cond_14
    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    invoke-direct {p0}, Lcom/google/ads/b/j;->f()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-direct {p0}, Lcom/google/ads/b/j;->d()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-direct {p0}, Lcom/google/ads/b/j;->c()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string v2, "("

    invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string v1, ");"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-direct {p0}, Lcom/google/ads/b/j;->g()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    goto :goto_3

    :cond_15
    move v1, v3

    goto/16 :goto_1
.end method

.method protected a()V
    .locals 4

    .prologue
    const/4 v3, 0x0

    .line 907
    :try_start_0
    iget-object v0, p0, Lcom/google/ads/b/j;->e:Ljava/lang/String;

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-eqz v0, :cond_0

    .line 908
    const-string v0, "Got a mediation response with no content type. Aborting mediation."

    invoke-static {v0}, Lcom/google/ads/util/d;->b(Ljava/lang/String;)V

    .line 909
    sget-object v0, Lcom/google/ads/e;->d:Lcom/google/ads/e;

    const/4 v1, 0x0

    invoke-virtual {p0, v0, v1}, Lcom/google/ads/b/j;->a(Lcom/google/ads/e;Z)V

    .line 943
    :goto_0
    return-void

    .line 912
    :cond_0
    iget-object v0, p0, Lcom/google/ads/b/j;->e:Ljava/lang/String;

    const-string v1, "application/json"

    invoke-virtual {v0, v1}, Ljava/lang/String;->startsWith(Ljava/lang/String;)Z

    move-result v0

    if-nez v0, :cond_1

    .line 913
    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    const-string v1, "Got a mediation response with a content type: \'"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    iget-object v1, p0, Lcom/google/ads/b/j;->e:Ljava/lang/String;

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string v1, "\'. Expected something starting with \'application/json\'. Aborting mediation."

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Lcom/google/ads/util/d;->b(Ljava/lang/String;)V

    .line 915
    sget-object v0, Lcom/google/ads/e;->d:Lcom/google/ads/e;

    const/4 v1, 0x0

    invoke-virtual {p0, v0, v1}, Lcom/google/ads/b/j;->a(Lcom/google/ads/e;Z)V
    :try_end_0
    .catch Lorg/json/JSONException; {:try_start_0 .. :try_end_0} :catch_0

    goto :goto_0

    .line 939
    :catch_0
    move-exception v0

    .line 940
    const-string v1, "AdLoader can\'t parse gWhirl server configuration."

    invoke-static {v1, v0}, Lcom/google/ads/util/d;->b(Ljava/lang/String;Ljava/lang/Throwable;)V

    .line 941
    sget-object v0, Lcom/google/ads/e;->d:Lcom/google/ads/e;

    invoke-virtual {p0, v0, v3}, Lcom/google/ads/b/j;->a(Lcom/google/ads/e;Z)V

    goto :goto_0

    .line 918
    :cond_1
    :try_start_1
    iget-object v0, p0, Lcom/google/ads/b/j;->c:Ljava/lang/String;

    invoke-static {v0}, Lcom/google/ads/aa;->a(Ljava/lang/String;)Lcom/google/ads/aa;

    move-result-object v0

    .line 920
    iget-object v1, p0, Lcom/google/ads/b/j;->d:Ljava/lang/String;

    iget-object v2, p0, Lcom/google/ads/b/j;->h:Lcom/google/ads/b/r;

    invoke-virtual {v2}, Lcom/google/ads/b/r;->h()Lcom/google/ads/ac;

    move-result-object v2

    invoke-static {v1, v0, v2}, Lcom/google/ads/b/j;->a(Ljava/lang/String;Lcom/google/ads/aa;Lcom/google/ads/ac;)V

    .line 924
    iget-object v1, p0, Lcom/google/ads/b/j;->h:Lcom/google/ads/b/r;

    new-instance v2, Lcom/google/ads/b/k;

    invoke-direct {v2, p0, v0}, Lcom/google/ads/b/k;-><init>(Lcom/google/ads/b/j;Lcom/google/ads/aa;)V

    invoke-virtual {v1, v2}, Lcom/google/ads/b/r;->a(Ljava/lang/Runnable;)V
    :try_end_1
    .catch Lorg/json/JSONException; {:try_start_1 .. :try_end_1} :catch_0

    goto :goto_0
.end method

.method public declared-synchronized a(I)V
    .locals 1
    .parameter

    .prologue
    .line 1491
    monitor-enter p0

    :try_start_0
    iput p1, p0, Lcom/google/ads/b/j;->s:I
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    .line 1492
    monitor-exit p0

    return-void

    .line 1491
    :catchall_0
    move-exception v0

    monitor-exit p0

    throw v0
.end method

.method public declared-synchronized a(Lcom/google/ads/b/p;)V
    .locals 1
    .parameter

    .prologue
    .line 1512
    monitor-enter p0

    :try_start_0
    iput-object p1, p0, Lcom/google/ads/b/j;->v:Lcom/google/ads/b/p;
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    .line 1513
    monitor-exit p0

    return-void

    .line 1512
    :catchall_0
    move-exception v0

    monitor-exit p0

    throw v0
.end method

.method protected a(Lcom/google/ads/d;)V
    .locals 1
    .parameter

    .prologue
    .line 628
    iput-object p1, p0, Lcom/google/ads/b/j;->i:Lcom/google/ads/d;

    .line 629
    const/4 v0, 0x0

    iput-boolean v0, p0, Lcom/google/ads/b/j;->o:Z

    .line 630
    new-instance v0, Ljava/lang/Thread;

    invoke-direct {v0, p0}, Ljava/lang/Thread;-><init>(Ljava/lang/Runnable;)V

    iput-object v0, p0, Lcom/google/ads/b/j;->t:Ljava/lang/Thread;

    .line 631
    iget-object v0, p0, Lcom/google/ads/b/j;->t:Ljava/lang/Thread;

    invoke-virtual {v0}, Ljava/lang/Thread;->start()V

    .line 632
    return-void
.end method

.method public declared-synchronized a(Lcom/google/ads/e;)V
    .locals 1
    .parameter

    .prologue
    .line 1460
    monitor-enter p0

    :try_start_0
    iput-object p1, p0, Lcom/google/ads/b/j;->q:Lcom/google/ads/e;

    .line 1461
    invoke-virtual {p0}, Ljava/lang/Object;->notify()V
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    .line 1462
    monitor-exit p0

    return-void

    .line 1460
    :catchall_0
    move-exception v0

    monitor-exit p0

    throw v0
.end method

.method protected a(Lcom/google/ads/e;Z)V
    .locals 7
    .parameter
    .parameter

    .prologue
    .line 1345
    iget-object v6, p0, Lcom/google/ads/b/j;->h:Lcom/google/ads/b/r;

    new-instance v0, Lcom/google/ads/b/m;

    iget-object v1, p0, Lcom/google/ads/b/j;->h:Lcom/google/ads/b/r;

    iget-object v2, p0, Lcom/google/ads/b/j;->j:Landroid/webkit/WebView;

    iget-object v3, p0, Lcom/google/ads/b/j;->g:Lcom/google/ads/b/t;

    move-object v4, p1

    move v5, p2

    invoke-direct/range {v0 .. v5}, Lcom/google/ads/b/m;-><init>(Lcom/google/ads/b/r;Landroid/webkit/WebView;Lcom/google/ads/b/t;Lcom/google/ads/e;Z)V

    invoke-virtual {v6, v0}, Lcom/google/ads/b/r;->a(Ljava/lang/Runnable;)V

    .line 1350
    return-void
.end method

.method public declared-synchronized a(Lcom/google/ads/g;)V
    .locals 1
    .parameter

    .prologue
    .line 1449
    monitor-enter p0

    :try_start_0
    iput-object p1, p0, Lcom/google/ads/b/j;->n:Lcom/google/ads/g;
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    .line 1450
    monitor-exit p0

    return-void

    .line 1449
    :catchall_0
    move-exception v0

    monitor-exit p0

    throw v0
.end method

.method protected declared-synchronized a(Ljava/lang/String;)V
    .locals 1
    .parameter

    .prologue
    .line 593
    monitor-enter p0

    :try_start_0
    iget-object v0, p0, Lcom/google/ads/b/j;->l:Ljava/util/LinkedList;

    invoke-virtual {v0, p1}, Ljava/util/LinkedList;->add(Ljava/lang/Object;)Z
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    .line 594
    monitor-exit p0

    return-void

    .line 593
    :catchall_0
    move-exception v0

    monitor-exit p0

    throw v0
.end method

.method protected declared-synchronized a(Ljava/lang/String;Ljava/lang/String;)V
    .locals 1
    .parameter
    .parameter

    .prologue
    .line 1411
    monitor-enter p0

    :try_start_0
    iput-object p2, p0, Lcom/google/ads/b/j;->b:Ljava/lang/String;

    .line 1412
    iput-object p1, p0, Lcom/google/ads/b/j;->c:Ljava/lang/String;

    .line 1413
    invoke-virtual {p0}, Ljava/lang/Object;->notify()V
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    .line 1414
    monitor-exit p0

    return-void

    .line 1411
    :catchall_0
    move-exception v0

    monitor-exit p0

    throw v0
.end method

.method protected declared-synchronized a(Z)V
    .locals 1
    .parameter

    .prologue
    .line 1393
    monitor-enter p0

    :try_start_0
    iput-boolean p1, p0, Lcom/google/ads/b/j;->f:Z
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    .line 1394
    monitor-exit p0

    return-void

    .line 1393
    :catchall_0
    move-exception v0

    monitor-exit p0

    throw v0
.end method

.method protected declared-synchronized b()V
    .locals 1

    .prologue
    .line 1473
    monitor-enter p0

    const/4 v0, 0x1

    :try_start_0
    iput-boolean v0, p0, Lcom/google/ads/b/j;->r:Z

    .line 1474
    invoke-virtual {p0}, Ljava/lang/Object;->notify()V
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    .line 1475
    monitor-exit p0

    return-void

    .line 1473
    :catchall_0
    move-exception v0

    monitor-exit p0

    throw v0
.end method

.method protected declared-synchronized b(Ljava/lang/String;)V
    .locals 1
    .parameter

    .prologue
    .line 1397
    monitor-enter p0

    :try_start_0
    iput-object p1, p0, Lcom/google/ads/b/j;->e:Ljava/lang/String;
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    .line 1398
    monitor-exit p0

    return-void

    .line 1397
    :catchall_0
    move-exception v0

    monitor-exit p0

    throw v0
.end method

.method public declared-synchronized b(Z)V
    .locals 1
    .parameter

    .prologue
    .line 1481
    monitor-enter p0

    :try_start_0
    iput-boolean p1, p0, Lcom/google/ads/b/j;->p:Z
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    .line 1482
    monitor-exit p0

    return-void

    .line 1481
    :catchall_0
    move-exception v0

    monitor-exit p0

    throw v0
.end method

.method protected declared-synchronized c(Ljava/lang/String;)V
    .locals 1
    .parameter

    .prologue
    .line 1422
    monitor-enter p0

    :try_start_0
    iput-object p1, p0, Lcom/google/ads/b/j;->d:Ljava/lang/String;
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    .line 1423
    monitor-exit p0

    return-void

    .line 1422
    :catchall_0
    move-exception v0

    monitor-exit p0

    throw v0
.end method

.method public declared-synchronized c(Z)V
    .locals 1
    .parameter

    .prologue
    .line 1501
    monitor-enter p0

    :try_start_0
    iput-boolean p1, p0, Lcom/google/ads/b/j;->u:Z
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    .line 1502
    monitor-exit p0

    return-void

    .line 1501
    :catchall_0
    move-exception v0

    monitor-exit p0

    throw v0
.end method

.method public declared-synchronized d(Ljava/lang/String;)V
    .locals 1
    .parameter

    .prologue
    .line 1434
    monitor-enter p0

    :try_start_0
    iput-object p1, p0, Lcom/google/ads/b/j;->k:Ljava/lang/String;

    .line 1435
    invoke-virtual {p0}, Ljava/lang/Object;->notify()V
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    .line 1436
    monitor-exit p0

    return-void

    .line 1434
    :catchall_0
    move-exception v0

    monitor-exit p0

    throw v0
.end method

.method public declared-synchronized d(Z)V
    .locals 1
    .parameter

    .prologue
    .line 1522
    monitor-enter p0

    :try_start_0
    iput-boolean p1, p0, Lcom/google/ads/b/j;->a:Z
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    .line 1523
    monitor-exit p0

    return-void

    .line 1522
    :catchall_0
    move-exception v0

    monitor-exit p0

    throw v0
.end method

.method public declared-synchronized e(Ljava/lang/String;)V
    .locals 1
    .parameter

    .prologue
    .line 1442
    monitor-enter p0

    :try_start_0
    iput-object p1, p0, Lcom/google/ads/b/j;->m:Ljava/lang/String;
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    .line 1443
    monitor-exit p0

    return-void

    .line 1442
    :catchall_0
    move-exception v0

    monitor-exit p0

    throw v0
.end method

.method public run()V
    .locals 11

    .prologue
    const-wide/16 v9, 0x0

    .line 640
    monitor-enter p0

    .line 644
    :try_start_0
    iget-object v0, p0, Lcom/google/ads/b/j;->j:Landroid/webkit/WebView;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/google/ads/b/j;->g:Lcom/google/ads/b/t;

    if-nez v0, :cond_1

    .line 645
    :cond_0
    const-string v0, "adRequestWebView was null while trying to load an ad."

    invoke-static {v0}, Lcom/google/ads/util/d;->e(Ljava/lang/String;)V

    .line 646
    sget-object v0, Lcom/google/ads/e;->d:Lcom/google/ads/e;

    const/4 v1, 0x0

    invoke-virtual {p0, v0, v1}, Lcom/google/ads/b/j;->a(Lcom/google/ads/e;Z)V
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0
    .catch Ljava/lang/Throwable; {:try_start_0 .. :try_end_0} :catch_0

    .line 647
    :try_start_1
    monitor-exit p0
    :try_end_1
    .catchall {:try_start_1 .. :try_end_1} :catchall_0

    .line 902
    :goto_0
    return-void

    .line 651
    :cond_1
    :try_start_2
    iget-object v0, p0, Lcom/google/ads/b/j;->h:Lcom/google/ads/b/r;

    invoke-virtual {v0}, Lcom/google/ads/b/r;->g()Lcom/google/ads/as;

    move-result-object v0

    iget-object v0, v0, Lcom/google/ads/as;->e:Lcom/google/ads/util/ae;

    invoke-virtual {v0}, Lcom/google/ads/util/ae;->a()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Landroid/app/Activity;

    .line 652
    if-nez v0, :cond_2

    .line 653
    const-string v0, "activity was null while forming an ad request."

    invoke-static {v0}, Lcom/google/ads/util/d;->e(Ljava/lang/String;)V

    .line 654
    sget-object v0, Lcom/google/ads/e;->d:Lcom/google/ads/e;

    const/4 v1, 0x0

    invoke-virtual {p0, v0, v1}, Lcom/google/ads/b/j;->a(Lcom/google/ads/e;Z)V
    :try_end_2
    .catchall {:try_start_2 .. :try_end_2} :catchall_0
    .catch Ljava/lang/Throwable; {:try_start_2 .. :try_end_2} :catch_0

    .line 655
    :try_start_3
    monitor-exit p0

    goto :goto_0

    .line 901
    :catchall_0
    move-exception v0

    monitor-exit p0
    :try_end_3
    .catchall {:try_start_3 .. :try_end_3} :catchall_0

    throw v0

    .line 659
    :cond_2
    :try_start_4
    iget-object v1, p0, Lcom/google/ads/b/j;->h:Lcom/google/ads/b/r;

    invoke-virtual {v1}, Lcom/google/ads/b/r;->n()J

    move-result-wide v3

    .line 660
    invoke-static {}, Landroid/os/SystemClock;->elapsedRealtime()J

    move-result-wide v5

    .line 664
    iget-object v2, p0, Lcom/google/ads/b/j;->i:Lcom/google/ads/d;

    iget-object v1, p0, Lcom/google/ads/b/j;->h:Lcom/google/ads/b/r;

    invoke-virtual {v1}, Lcom/google/ads/b/r;->g()Lcom/google/ads/as;

    move-result-object v1

    iget-object v1, v1, Lcom/google/ads/as;->f:Lcom/google/ads/util/ac;

    invoke-virtual {v1}, Lcom/google/ads/util/ac;->a()Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Landroid/content/Context;

    invoke-virtual {v2, v1}, Lcom/google/ads/d;->a(Landroid/content/Context;)Ljava/util/Map;

    move-result-object v7

    .line 667
    const-string v1, "extras"

    invoke-interface {v7, v1}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v1

    .line 669
    instance-of v2, v1, Ljava/util/Map;

    if-eqz v2, :cond_6

    .line 670
    check-cast v1, Ljava/util/Map;

    .line 673
    const-string v2, "_adUrl"

    invoke-interface {v1, v2}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v2

    .line 674
    instance-of v8, v2, Ljava/lang/String;

    if-eqz v8, :cond_3

    .line 675
    check-cast v2, Ljava/lang/String;

    iput-object v2, p0, Lcom/google/ads/b/j;->b:Ljava/lang/String;

    .line 679
    :cond_3
    const-string v2, "_requestUrl"

    invoke-interface {v1, v2}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v2

    .line 680
    instance-of v8, v2, Ljava/lang/String;

    if-eqz v8, :cond_4

    .line 681
    check-cast v2, Ljava/lang/String;

    iput-object v2, p0, Lcom/google/ads/b/j;->k:Ljava/lang/String;

    .line 685
    :cond_4
    const-string v2, "_orientation"

    invoke-interface {v1, v2}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v2

    .line 686
    instance-of v8, v2, Ljava/lang/String;

    if-eqz v8, :cond_5

    .line 687
    const-string v8, "p"

    invoke-virtual {v2, v8}, Ljava/lang/Object;->equals(Ljava/lang/Object;)Z

    move-result v8

    if-eqz v8, :cond_8

    .line 688
    const/4 v2, 0x1

    iput v2, p0, Lcom/google/ads/b/j;->s:I

    .line 695
    :cond_5
    :goto_1
    const-string v2, "_norefresh"

    invoke-interface {v1, v2}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v1

    .line 696
    instance-of v2, v1, Ljava/lang/String;

    if-eqz v2, :cond_6

    .line 697
    const-string v2, "t"

    invoke-virtual {v1, v2}, Ljava/lang/Object;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_6

    .line 698
    iget-object v1, p0, Lcom/google/ads/b/j;->h:Lcom/google/ads/b/r;

    invoke-virtual {v1}, Lcom/google/ads/b/r;->c()V

    .line 705
    :cond_6
    iget-object v1, p0, Lcom/google/ads/b/j;->b:Ljava/lang/String;

    if-nez v1, :cond_10

    .line 708
    iget-object v1, p0, Lcom/google/ads/b/j;->k:Ljava/lang/String;
    :try_end_4
    .catchall {:try_start_4 .. :try_end_4} :catchall_0
    .catch Ljava/lang/Throwable; {:try_start_4 .. :try_end_4} :catch_0

    if-nez v1, :cond_b

    .line 711
    :try_start_5
    invoke-virtual {p0, v7, v0}, Lcom/google/ads/b/j;->a(Ljava/util/Map;Landroid/app/Activity;)Ljava/lang/String;
    :try_end_5
    .catchall {:try_start_5 .. :try_end_5} :catchall_0
    .catch Lcom/google/ads/b/n; {:try_start_5 .. :try_end_5} :catch_1
    .catch Ljava/lang/Throwable; {:try_start_5 .. :try_end_5} :catch_0

    move-result-object v0

    .line 717
    :try_start_6
    invoke-direct {p0}, Lcom/google/ads/b/j;->e()Ljava/lang/String;

    move-result-object v1

    invoke-direct {p0, v0, v1}, Lcom/google/ads/b/j;->b(Ljava/lang/String;Ljava/lang/String;)V

    .line 720
    invoke-static {}, Landroid/os/SystemClock;->elapsedRealtime()J
    :try_end_6
    .catchall {:try_start_6 .. :try_end_6} :catchall_0
    .catch Ljava/lang/Throwable; {:try_start_6 .. :try_end_6} :catch_0

    move-result-wide v0

    sub-long/2addr v0, v5

    sub-long v0, v3, v0

    .line 722
    cmp-long v2, v0, v9

    if-lez v2, :cond_7

    .line 723
    :try_start_7
    invoke-virtual {p0, v0, v1}, Ljava/lang/Object;->wait(J)V
    :try_end_7
    .catchall {:try_start_7 .. :try_end_7} :catchall_0
    .catch Ljava/lang/InterruptedException; {:try_start_7 .. :try_end_7} :catch_2
    .catch Ljava/lang/Throwable; {:try_start_7 .. :try_end_7} :catch_0

    .line 733
    :cond_7
    :try_start_8
    iget-boolean v0, p0, Lcom/google/ads/b/j;->o:Z
    :try_end_8
    .catchall {:try_start_8 .. :try_end_8} :catchall_0
    .catch Ljava/lang/Throwable; {:try_start_8 .. :try_end_8} :catch_0

    if-eqz v0, :cond_9

    .line 734
    :try_start_9
    monitor-exit p0
    :try_end_9
    .catchall {:try_start_9 .. :try_end_9} :catchall_0

    goto/16 :goto_0

    .line 689
    :cond_8
    :try_start_a
    const-string v8, "l"

    invoke-virtual {v2, v8}, Ljava/lang/Object;->equals(Ljava/lang/Object;)Z

    move-result v2

    if-eqz v2, :cond_5

    .line 690
    const/4 v2, 0x0

    iput v2, p0, Lcom/google/ads/b/j;->s:I
    :try_end_a
    .catchall {:try_start_a .. :try_end_a} :catchall_0
    .catch Ljava/lang/Throwable; {:try_start_a .. :try_end_a} :catch_0

    goto :goto_1

    .line 896
    :catch_0
    move-exception v0

    .line 898
    :try_start_b
    const-string v1, "An unknown error occurred in AdLoader."

    invoke-static {v1, v0}, Lcom/google/ads/util/d;->b(Ljava/lang/String;Ljava/lang/Throwable;)V

    .line 899
    sget-object v0, Lcom/google/ads/e;->d:Lcom/google/ads/e;

    const/4 v1, 0x1

    invoke-virtual {p0, v0, v1}, Lcom/google/ads/b/j;->a(Lcom/google/ads/e;Z)V

    .line 901
    :goto_2
    monitor-exit p0
    :try_end_b
    .catchall {:try_start_b .. :try_end_b} :catchall_0

    goto/16 :goto_0

    .line 712
    :catch_1
    move-exception v0

    .line 713
    :try_start_c
    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    const-string v2, "Caught internal exception: "

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Lcom/google/ads/util/d;->c(Ljava/lang/String;)V

    .line 714
    sget-object v0, Lcom/google/ads/e;->d:Lcom/google/ads/e;

    const/4 v1, 0x0

    invoke-virtual {p0, v0, v1}, Lcom/google/ads/b/j;->a(Lcom/google/ads/e;Z)V
    :try_end_c
    .catchall {:try_start_c .. :try_end_c} :catchall_0
    .catch Ljava/lang/Throwable; {:try_start_c .. :try_end_c} :catch_0

    .line 715
    :try_start_d
    monitor-exit p0
    :try_end_d
    .catchall {:try_start_d .. :try_end_d} :catchall_0

    goto/16 :goto_0

    .line 725
    :catch_2
    move-exception v0

    .line 727
    :try_start_e
    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    const-string v2, "AdLoader InterruptedException while getting the URL: "

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Lcom/google/ads/util/d;->a(Ljava/lang/String;)V
    :try_end_e
    .catchall {:try_start_e .. :try_end_e} :catchall_0
    .catch Ljava/lang/Throwable; {:try_start_e .. :try_end_e} :catch_0

    .line 729
    :try_start_f
    monitor-exit p0
    :try_end_f
    .catchall {:try_start_f .. :try_end_f} :catchall_0

    goto/16 :goto_0

    .line 735
    :cond_9
    :try_start_10
    iget-object v0, p0, Lcom/google/ads/b/j;->q:Lcom/google/ads/e;

    if-eqz v0, :cond_a

    .line 736
    iget-object v0, p0, Lcom/google/ads/b/j;->q:Lcom/google/ads/e;

    const/4 v1, 0x0

    invoke-virtual {p0, v0, v1}, Lcom/google/ads/b/j;->a(Lcom/google/ads/e;Z)V
    :try_end_10
    .catchall {:try_start_10 .. :try_end_10} :catchall_0
    .catch Ljava/lang/Throwable; {:try_start_10 .. :try_end_10} :catch_0

    .line 737
    :try_start_11
    monitor-exit p0
    :try_end_11
    .catchall {:try_start_11 .. :try_end_11} :catchall_0

    goto/16 :goto_0

    .line 738
    :cond_a
    :try_start_12
    iget-object v0, p0, Lcom/google/ads/b/j;->k:Ljava/lang/String;

    if-nez v0, :cond_b

    .line 740
    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    const-string v1, "AdLoader timed out after "

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0, v3, v4}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string v1, "ms while getting the URL."

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Lcom/google/ads/util/d;->c(Ljava/lang/String;)V

    .line 742
    sget-object v0, Lcom/google/ads/e;->c:Lcom/google/ads/e;

    const/4 v1, 0x0

    invoke-virtual {p0, v0, v1}, Lcom/google/ads/b/j;->a(Lcom/google/ads/e;Z)V
    :try_end_12
    .catchall {:try_start_12 .. :try_end_12} :catchall_0
    .catch Ljava/lang/Throwable; {:try_start_12 .. :try_end_12} :catch_0

    .line 743
    :try_start_13
    monitor-exit p0
    :try_end_13
    .catchall {:try_start_13 .. :try_end_13} :catchall_0

    goto/16 :goto_0

    .line 749
    :cond_b
    :try_start_14
    iget-object v0, p0, Lcom/google/ads/b/j;->h:Lcom/google/ads/b/r;

    invoke-virtual {v0}, Lcom/google/ads/b/r;->l()Lcom/google/ads/b/w;

    move-result-object v0

    .line 751
    sget-object v1, Lcom/google/ads/b/l;->a:[I

    iget-object v2, p0, Lcom/google/ads/b/j;->v:Lcom/google/ads/b/p;

    invoke-virtual {v2}, Lcom/google/ads/b/p;->ordinal()I

    move-result v2

    aget v1, v1, v2

    packed-switch v1, :pswitch_data_0

    .line 783
    :goto_3
    iget-boolean v0, p0, Lcom/google/ads/b/j;->a:Z

    if-nez v0, :cond_f

    .line 784
    const-string v0, "Not using loadUrl()."

    invoke-static {v0}, Lcom/google/ads/util/d;->a(Ljava/lang/String;)V

    .line 786
    iget-object v0, p0, Lcom/google/ads/b/j;->g:Lcom/google/ads/b/t;

    iget-boolean v1, p0, Lcom/google/ads/b/j;->u:Z

    invoke-virtual {v0, v1}, Lcom/google/ads/b/t;->a(Z)V

    .line 789
    iget-object v0, p0, Lcom/google/ads/b/j;->g:Lcom/google/ads/b/t;

    iget-object v1, p0, Lcom/google/ads/b/j;->k:Ljava/lang/String;

    invoke-virtual {v0, v1}, Lcom/google/ads/b/t;->a(Ljava/lang/String;)V

    .line 792
    invoke-static {}, Landroid/os/SystemClock;->elapsedRealtime()J
    :try_end_14
    .catchall {:try_start_14 .. :try_end_14} :catchall_0
    .catch Ljava/lang/Throwable; {:try_start_14 .. :try_end_14} :catch_0

    move-result-wide v0

    sub-long/2addr v0, v5

    sub-long v0, v3, v0

    .line 794
    cmp-long v2, v0, v9

    if-lez v2, :cond_c

    .line 795
    :try_start_15
    invoke-virtual {p0, v0, v1}, Ljava/lang/Object;->wait(J)V
    :try_end_15
    .catchall {:try_start_15 .. :try_end_15} :catchall_0
    .catch Ljava/lang/InterruptedException; {:try_start_15 .. :try_end_15} :catch_3
    .catch Ljava/lang/Throwable; {:try_start_15 .. :try_end_15} :catch_0

    .line 805
    :cond_c
    :try_start_16
    iget-boolean v0, p0, Lcom/google/ads/b/j;->o:Z
    :try_end_16
    .catchall {:try_start_16 .. :try_end_16} :catchall_0
    .catch Ljava/lang/Throwable; {:try_start_16 .. :try_end_16} :catch_0

    if-eqz v0, :cond_d

    .line 806
    :try_start_17
    monitor-exit p0
    :try_end_17
    .catchall {:try_start_17 .. :try_end_17} :catchall_0

    goto/16 :goto_0

    .line 755
    :pswitch_0
    :try_start_18
    invoke-virtual {v0}, Lcom/google/ads/b/w;->r()V

    .line 756
    invoke-virtual {v0}, Lcom/google/ads/b/w;->u()V

    .line 757
    invoke-virtual {v0}, Lcom/google/ads/b/w;->x()V

    .line 758
    const-string v0, "Request scenario: Online server request."

    invoke-static {v0}, Lcom/google/ads/util/d;->c(Ljava/lang/String;)V

    goto :goto_3

    .line 761
    :pswitch_1
    invoke-virtual {v0}, Lcom/google/ads/b/w;->t()V

    .line 762
    const-string v0, "Request scenario: Online using buffered ads."

    invoke-static {v0}, Lcom/google/ads/util/d;->c(Ljava/lang/String;)V

    goto :goto_3

    .line 765
    :pswitch_2
    invoke-virtual {v0}, Lcom/google/ads/b/w;->w()V

    .line 766
    invoke-virtual {v0}, Lcom/google/ads/b/w;->q()V

    .line 767
    const-string v0, "Request scenario: Offline using buffered ads."

    invoke-static {v0}, Lcom/google/ads/util/d;->c(Ljava/lang/String;)V

    goto :goto_3

    .line 772
    :pswitch_3
    invoke-virtual {v0}, Lcom/google/ads/b/w;->q()V

    .line 773
    const-string v0, "Request scenario: Offline with no buffered ads."

    invoke-static {v0}, Lcom/google/ads/util/d;->c(Ljava/lang/String;)V

    .line 774
    const-string v0, "Network is unavailable.  Aborting ad request."

    invoke-static {v0}, Lcom/google/ads/util/d;->c(Ljava/lang/String;)V

    .line 775
    sget-object v0, Lcom/google/ads/e;->c:Lcom/google/ads/e;

    const/4 v1, 0x0

    invoke-virtual {p0, v0, v1}, Lcom/google/ads/b/j;->a(Lcom/google/ads/e;Z)V
    :try_end_18
    .catchall {:try_start_18 .. :try_end_18} :catchall_0
    .catch Ljava/lang/Throwable; {:try_start_18 .. :try_end_18} :catch_0

    .line 776
    :try_start_19
    monitor-exit p0
    :try_end_19
    .catchall {:try_start_19 .. :try_end_19} :catchall_0

    goto/16 :goto_0

    .line 797
    :catch_3
    move-exception v0

    .line 799
    :try_start_1a
    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    const-string v2, "AdLoader InterruptedException while getting the ad server\'s response: "

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Lcom/google/ads/util/d;->a(Ljava/lang/String;)V
    :try_end_1a
    .catchall {:try_start_1a .. :try_end_1a} :catchall_0
    .catch Ljava/lang/Throwable; {:try_start_1a .. :try_end_1a} :catch_0

    .line 801
    :try_start_1b
    monitor-exit p0
    :try_end_1b
    .catchall {:try_start_1b .. :try_end_1b} :catchall_0

    goto/16 :goto_0

    .line 807
    :cond_d
    :try_start_1c
    iget-object v0, p0, Lcom/google/ads/b/j;->q:Lcom/google/ads/e;

    if-eqz v0, :cond_e

    .line 808
    iget-object v0, p0, Lcom/google/ads/b/j;->q:Lcom/google/ads/e;

    const/4 v1, 0x0

    invoke-virtual {p0, v0, v1}, Lcom/google/ads/b/j;->a(Lcom/google/ads/e;Z)V
    :try_end_1c
    .catchall {:try_start_1c .. :try_end_1c} :catchall_0
    .catch Ljava/lang/Throwable; {:try_start_1c .. :try_end_1c} :catch_0

    .line 809
    :try_start_1d
    monitor-exit p0
    :try_end_1d
    .catchall {:try_start_1d .. :try_end_1d} :catchall_0

    goto/16 :goto_0

    .line 810
    :cond_e
    :try_start_1e
    iget-object v0, p0, Lcom/google/ads/b/j;->c:Ljava/lang/String;

    if-nez v0, :cond_10

    .line 812
    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    const-string v1, "AdLoader timed out after "

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0, v3, v4}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string v1, "ms while waiting for the ad server\'s response."

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Lcom/google/ads/util/d;->c(Ljava/lang/String;)V

    .line 814
    sget-object v0, Lcom/google/ads/e;->c:Lcom/google/ads/e;

    const/4 v1, 0x0

    invoke-virtual {p0, v0, v1}, Lcom/google/ads/b/j;->a(Lcom/google/ads/e;Z)V
    :try_end_1e
    .catchall {:try_start_1e .. :try_end_1e} :catchall_0
    .catch Ljava/lang/Throwable; {:try_start_1e .. :try_end_1e} :catch_0

    .line 815
    :try_start_1f
    monitor-exit p0
    :try_end_1f
    .catchall {:try_start_1f .. :try_end_1f} :catchall_0

    goto/16 :goto_0

    .line 822
    :cond_f
    :try_start_20
    iget-object v0, p0, Lcom/google/ads/b/j;->k:Ljava/lang/String;

    iput-object v0, p0, Lcom/google/ads/b/j;->b:Ljava/lang/String;

    .line 823
    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    const-string v1, "Using loadUrl.  adBaseUrl: "

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    iget-object v1, p0, Lcom/google/ads/b/j;->b:Ljava/lang/String;

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Lcom/google/ads/util/d;->a(Ljava/lang/String;)V

    .line 828
    :cond_10
    iget-boolean v0, p0, Lcom/google/ads/b/j;->a:Z

    if-nez v0, :cond_16

    .line 829
    iget-boolean v0, p0, Lcom/google/ads/b/j;->f:Z

    if-eqz v0, :cond_11

    .line 832
    iget-object v0, p0, Lcom/google/ads/b/j;->h:Lcom/google/ads/b/r;

    const/4 v1, 0x1

    invoke-virtual {v0, v1}, Lcom/google/ads/b/r;->b(Z)V

    .line 833
    invoke-virtual {p0}, Lcom/google/ads/b/j;->a()V
    :try_end_20
    .catchall {:try_start_20 .. :try_end_20} :catchall_0
    .catch Ljava/lang/Throwable; {:try_start_20 .. :try_end_20} :catch_0

    .line 834
    :try_start_21
    monitor-exit p0
    :try_end_21
    .catchall {:try_start_21 .. :try_end_21} :catchall_0

    goto/16 :goto_0

    .line 838
    :cond_11
    :try_start_22
    iget-object v0, p0, Lcom/google/ads/b/j;->e:Ljava/lang/String;

    if-eqz v0, :cond_13

    iget-object v0, p0, Lcom/google/ads/b/j;->e:Ljava/lang/String;

    const-string v1, "application/json"

    invoke-virtual {v0, v1}, Ljava/lang/String;->startsWith(Ljava/lang/String;)Z

    move-result v0

    if-nez v0, :cond_12

    iget-object v0, p0, Lcom/google/ads/b/j;->e:Ljava/lang/String;

    const-string v1, "text/javascript"

    invoke-virtual {v0, v1}, Ljava/lang/String;->startsWith(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_13

    .line 841
    :cond_12
    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    const-string v1, "Expected HTML but received "

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    iget-object v1, p0, Lcom/google/ads/b/j;->e:Ljava/lang/String;

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string v1, "."

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Lcom/google/ads/util/d;->b(Ljava/lang/String;)V

    .line 842
    sget-object v0, Lcom/google/ads/e;->d:Lcom/google/ads/e;

    const/4 v1, 0x0

    invoke-virtual {p0, v0, v1}, Lcom/google/ads/b/j;->a(Lcom/google/ads/e;Z)V
    :try_end_22
    .catchall {:try_start_22 .. :try_end_22} :catchall_0
    .catch Ljava/lang/Throwable; {:try_start_22 .. :try_end_22} :catch_0

    .line 843
    :try_start_23
    monitor-exit p0
    :try_end_23
    .catchall {:try_start_23 .. :try_end_23} :catchall_0

    goto/16 :goto_0

    .line 844
    :cond_13
    :try_start_24
    iget-object v0, p0, Lcom/google/ads/b/j;->h:Lcom/google/ads/b/r;

    invoke-virtual {v0}, Lcom/google/ads/b/r;->g()Lcom/google/ads/as;

    move-result-object v0

    iget-object v0, v0, Lcom/google/ads/as;->l:Lcom/google/ads/util/ad;

    invoke-virtual {v0}, Lcom/google/ads/util/ad;->a()Ljava/lang/Object;

    move-result-object v0

    if-eqz v0, :cond_15

    .line 845
    iget-object v0, p0, Lcom/google/ads/b/j;->n:Lcom/google/ads/g;

    if-nez v0, :cond_14

    .line 847
    const-string v0, "Multiple supported ad sizes were specified, but the server did not respond with a size."

    invoke-static {v0}, Lcom/google/ads/util/d;->b(Ljava/lang/String;)V

    .line 849
    sget-object v0, Lcom/google/ads/e;->d:Lcom/google/ads/e;

    const/4 v1, 0x0

    invoke-virtual {p0, v0, v1}, Lcom/google/ads/b/j;->a(Lcom/google/ads/e;Z)V
    :try_end_24
    .catchall {:try_start_24 .. :try_end_24} :catchall_0
    .catch Ljava/lang/Throwable; {:try_start_24 .. :try_end_24} :catch_0

    .line 850
    :try_start_25
    monitor-exit p0
    :try_end_25
    .catchall {:try_start_25 .. :try_end_25} :catchall_0

    goto/16 :goto_0

    .line 851
    :cond_14
    :try_start_26
    iget-object v0, p0, Lcom/google/ads/b/j;->h:Lcom/google/ads/b/r;

    invoke-virtual {v0}, Lcom/google/ads/b/r;->g()Lcom/google/ads/as;

    move-result-object v0

    iget-object v0, v0, Lcom/google/ads/as;->l:Lcom/google/ads/util/ad;

    invoke-virtual {v0}, Lcom/google/ads/util/ad;->a()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, [Ljava/lang/Object;

    invoke-static {v0}, Ljava/util/Arrays;->asList([Ljava/lang/Object;)Ljava/util/List;

    move-result-object v0

    iget-object v1, p0, Lcom/google/ads/b/j;->n:Lcom/google/ads/g;

    invoke-interface {v0, v1}, Ljava/util/List;->contains(Ljava/lang/Object;)Z

    move-result v0

    if-nez v0, :cond_16

    .line 853
    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    const-string v1, "The ad server did not respond with a supported AdSize: "

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    iget-object v1, p0, Lcom/google/ads/b/j;->n:Lcom/google/ads/g;

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Lcom/google/ads/util/d;->b(Ljava/lang/String;)V

    .line 854
    sget-object v0, Lcom/google/ads/e;->d:Lcom/google/ads/e;

    const/4 v1, 0x0

    invoke-virtual {p0, v0, v1}, Lcom/google/ads/b/j;->a(Lcom/google/ads/e;Z)V
    :try_end_26
    .catchall {:try_start_26 .. :try_end_26} :catchall_0
    .catch Ljava/lang/Throwable; {:try_start_26 .. :try_end_26} :catch_0

    .line 855
    :try_start_27
    monitor-exit p0
    :try_end_27
    .catchall {:try_start_27 .. :try_end_27} :catchall_0

    goto/16 :goto_0

    .line 861
    :cond_15
    :try_start_28
    iget-object v0, p0, Lcom/google/ads/b/j;->n:Lcom/google/ads/g;

    if-eqz v0, :cond_16

    .line 862
    const-string v0, "adSize was expected to be null in AdLoader."

    invoke-static {v0}, Lcom/google/ads/util/d;->e(Ljava/lang/String;)V

    .line 863
    const/4 v0, 0x0

    iput-object v0, p0, Lcom/google/ads/b/j;->n:Lcom/google/ads/g;

    .line 870
    :cond_16
    iget-object v0, p0, Lcom/google/ads/b/j;->h:Lcom/google/ads/b/r;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Lcom/google/ads/b/r;->b(Z)V

    .line 875
    invoke-direct {p0}, Lcom/google/ads/b/j;->h()V

    .line 878
    invoke-static {}, Landroid/os/SystemClock;->elapsedRealtime()J
    :try_end_28
    .catchall {:try_start_28 .. :try_end_28} :catchall_0
    .catch Ljava/lang/Throwable; {:try_start_28 .. :try_end_28} :catch_0

    move-result-wide v0

    sub-long/2addr v0, v5

    sub-long v0, v3, v0

    .line 880
    cmp-long v2, v0, v9

    if-lez v2, :cond_17

    .line 881
    :try_start_29
    invoke-virtual {p0, v0, v1}, Ljava/lang/Object;->wait(J)V
    :try_end_29
    .catchall {:try_start_29 .. :try_end_29} :catchall_0
    .catch Ljava/lang/InterruptedException; {:try_start_29 .. :try_end_29} :catch_4
    .catch Ljava/lang/Throwable; {:try_start_29 .. :try_end_29} :catch_0

    .line 889
    :cond_17
    :try_start_2a
    iget-boolean v0, p0, Lcom/google/ads/b/j;->r:Z

    if-eqz v0, :cond_18

    .line 890
    invoke-direct {p0}, Lcom/google/ads/b/j;->i()V

    goto/16 :goto_2

    .line 883
    :catch_4
    move-exception v0

    .line 884
    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    const-string v2, "AdLoader InterruptedException while loading the HTML: "

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Lcom/google/ads/util/d;->a(Ljava/lang/String;)V
    :try_end_2a
    .catchall {:try_start_2a .. :try_end_2a} :catchall_0
    .catch Ljava/lang/Throwable; {:try_start_2a .. :try_end_2a} :catch_0

    .line 885
    :try_start_2b
    monitor-exit p0
    :try_end_2b
    .catchall {:try_start_2b .. :try_end_2b} :catchall_0

    goto/16 :goto_0

    .line 892
    :cond_18
    :try_start_2c
    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    const-string v1, "AdLoader timed out after "

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0, v3, v4}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string v1, "ms while loading the HTML."

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Lcom/google/ads/util/d;->c(Ljava/lang/String;)V

    .line 894
    sget-object v0, Lcom/google/ads/e;->c:Lcom/google/ads/e;

    const/4 v1, 0x1

    invoke-virtual {p0, v0, v1}, Lcom/google/ads/b/j;->a(Lcom/google/ads/e;Z)V
    :try_end_2c
    .catchall {:try_start_2c .. :try_end_2c} :catchall_0
    .catch Ljava/lang/Throwable; {:try_start_2c .. :try_end_2c} :catch_0

    goto/16 :goto_2

    .line 751
    :pswitch_data_0
    .packed-switch 0x1
        :pswitch_0
        :pswitch_1
        :pswitch_2
        :pswitch_3
    .end packed-switch
.end method
